//
//  BaseTableViewHeaderFooterView.m
//  YiCuiMiaoZhang
//
//  Created by Sings on 2019/3/30.
//  Copyright © 2018 益萃网络科技（中国）有限公司. All rights reserved.
//

#import "BaseTableViewHeaderFooterView.h"

@implementation BaseTableViewHeaderFooterView

- (void)setViewModel:(BaseViewModel *)viewModel {
    if (_viewModel) {
        _viewModel.refresh = nil;
    }
    _viewModel = viewModel;
    [self showView];
    BaseWeakObj(self)
    _viewModel.refresh = ^{
        [weakself showView];
    };
}

- (void)showView {
}

@end
